import axios from './http';
import qs from 'qs';
// import axios from 'axios';
// axios.defaults.baseURL="http://localhost:8088/"

export const requestLogin = params => {
  return axios.post('/login', qs.stringify(params)).then(res => res.data);
};

export const checkLogin = params => {
  return axios.post('/login/getUser', qs.stringify(params)).then(res => res.data);
};


//获取菜单权限
export const getMenuPermission = params => {
  return axios.post("/uau/perm/getMenuPermission?userId="+params);
}

//获取按钮权限
export const getPermission = params => {
  return axios.post("/uau/perm/getPermissions?userId="+params);
}
//获取======================按钮权限
export const getUserRoles = params => {
  return axios.post("/uau/perm/getRoles",params);
}

//获取当前用户信息
export const getUserInfo = params => {
   return axios.post("user/getCurrentUser",params);
}

//获取当前用户详情
export const getCurrentUserDetail = params => {
  return axios.post("user/getCurrentUserDetail",params);
}


//获取当前用户当前用户的经理  20210908=====startwan
export const getCurrentUserBoss = params => {
  return axios.post("user/getUsersBossInfo?userId="+params);
}



//获取多个用户信息
export const getUsersInfo = params => {
  return axios.post("user/getUsersInfo",params);
}

export const changeUser = params => {
  return axios.post("user/changeUser?userId="+params);
}

//删除文件
export const delFile = params => {
  return axios.post("CudFile/cud-file/delFile",params);
}

//查询文件列表
export const findFileList = params => {
  return axios.post("CudFile/cud-file/findFileList",params);
}

//查询文件列表 通过guid
export const findFileListByProcGuid = params => {
  return axios.post("CudFile/cud-file/findFileListByProcGuid",params);
}

//下载文件

export const downloadFile = params => {
  return axios({
    method:'post',
    url:'CudFile/cud-file/downloadFile',
    data:params,
    responseType:'blob',
  })
}

//业务处理

//获取流程实例已经运行的轨迹
export const getProcInsTrace = params => {
  return axios.post("psc/bpmCenter/getWorkListItemTrace", params);
}

//获取待办列表
export const getNeedDealList = params => {
  return axios.post("psc/bpmCenter/getNeedDealTaskList", params);
  // return axios.post("psc/bpmCenter/getNeedDealTaskList1", params);
}

//获取统一待办
export const queryAueTask = params => {
  return axios.post("scp/aue/todo/queryTask", params);
}

//获取统一待办任务数量
export const queryTaskTotalByApps = params => {
  return axios.post("scp/aue/todo/queryTaskTotalByApps", params);
}

//已办任务
export const getDoneTaskList = params => {
  return axios.post("psc/bpmCenter/getDoneTaskList", params);
}

//提交一个流程
export const submitWorkListItem = params => {
  return axios.post("psc/bpmCenter/submitWorkListItem", params);
}
//获取流程实例的初始节点
export const getStartAct = params => {
  return axios.post("psc/bpmCenter/getStartAct?procId=" + params);
}

//获取流程的下一节点
export const getNextNode = (procId, actMetadata) => {
  return axios.post("psc/bpmCenter/getNextNode?procId=" + procId + "&actMetadata=" + actMetadata);
}

//获取节点详细信息
export const getBpmPscActInfo = params => {
  return axios.post("psc/bpmCenter/getBpmPscActInfo",params);
}

//获取所有节点信息
export const getWFConfigActivity = params =>{
  return axios.post("psc/bpmCenter/getWFConfigActivity",params);
}

//获取最新流程procId
export const getWFConfigProcID = params =>{
  return axios.post("psc/bpmCenter/getWFConfigProcID",params);
}

//获取流程的下一节点处理人
export const getApprovePerson = (procId, actMetadata) => {
  return axios.post("psc/bpmCenter/getApprovePerson?proc_id=" + procId + "&node=" + actMetadata);
}

//获取下一步点处理人
export const getNextApprovePerson = params => {
  return axios.post("psc/bpmCenter/getNextApprovePerson",params);
}

export const queryApprovePerson = params => {
  return axios.post("psc/bpmCenter/queryApprovePerson",params);
}


//获取流程实例所在节点的退回节点
export const getBackNode = (procId, actMetadata) => {
  return axios.post("psc/bpmCenter/getBackNode?procId=" + procId + "&actMetadata=" + actMetadata);
}

//获取流程节点信息
export const getProcActList = params => {
  return axios.post("psc/bpmCenter/getProcActList", params);
}

//获取流程集信息 通过流程全名
export const getProSetByFullName = params => {
  return axios.post("psc/bpmCenter/getProSetByFullName", params);
}

//撤回操作
export const withdraw = params => {
  return axios.post("psc/bpmCenter/withdraw",params);
}

//获取流程的上一处理信息
export const getLasApproveInfo = params => {
  return axios.post("psc/bpmCenter/getLasApproveInfo",params);
}

//获取中奖列表
export const getWinList = params => {
  return axios.post("/win/cud-win/getWinList", params);
}

//保存中奖信息 经过流程
export const insertWin = params => {
  return axios.post("/win/cud-win/insertWin", params);
}

//保存中奖信息 不过流程
export const addWin = params => {
  return axios.post("/win/cud-win/addWin", params);
}

//修改中奖信息
export const saveWin = params => {
  return axios.post("/win/cud-win/saveWin", params);
}

//删除中奖信息 逻辑删除
export const delWin = params => {
  return axios.post("/win/cud-win/delWin?winId="+params.winId);
}

export const batchDelWin = params => {
  return axios.post("/win/cud-win/batchDelWin",params);
}

export const getWinDetailsById = params => {
  return axios.post("win/cud-win/getWinDetails?id=" + params);
}

//导出获奖信息的excel
export const exportWinExcel = params => {
  return axios({
    method: "post",
    url: "/win/cud-win/exportWinExcel",
    data: params,
    responseType: "blob"
  })
}

//通过流程信息 去获取 获奖信息
export const getWinDetailsByProcInfo = params => {
  return axios.post("win/cud-win/getWinDetailsByProcInfo?id=" + params);
}

/*******************待阅相关 **********************/
//获取待阅(抄送列表)
export const getCopySendItemsList = params => {
  return axios.post("psc/bpmCenter/getCopySendItemsList",params);
}

//待阅提交
export const copySendItemSubmitSecond = params => {
  return axios.post("psc/bpmCenter/copySendItemSubmitSecond",params);
}

/**************** 已阅相关 ******************/
export const getAlreadyReadList = params => {
  return axios.post("psc/bpmCenter/getAlreadyReadList",params);
}


/*********************代理相关 *********************/
//代理列表   获取代理结果
export const getdelegatesettingresult = params => {
  return axios.post("psc/bpmCenter/getdelegatesettingresult",params);
}
//新增代理
export const addDelegate = params => {
  return axios.post("psc/bpmCenter/addDelegate",params);
}
//删除代理设置
export const deldelegatesetting = params => {
  return axios.post("psc/bpmCenter/deldelegatesetting",params);
}
//代理(全部)
export const getdelegateusersettingresult = params => {
  return axios.post("psc/bpmCenter/getdelegateusersettingresult",params);
}
//删除代理(用户)
export const deldelegateusersetting = params => {
  return axios.post("psc/bpmCenter/delDelegateUserSetting",params);
}
//新增代理(代理全部流程)
export const addDelegates = params => {
  return axios.post("psc/bpmCenter/addDelegates",params);
}

/********************* 我的草稿相关 *********************/
//获取我的草稿
export const getDraftListByPaging = params => {
  console.log("==============================")
  console.log(params)
  return axios.post("psc/bpmCenter/getDraftListByPaging",params);
}
//保存草稿(新增)  通过流程
export const addDraft = params => {
  return axios.post("/win/cud-win/insertWin",params);
}
//删除我的草稿 先删除业务数据
export const delMyDraft = params => {
  return axios.post("/win/cud-win/deleteWinAndMyDraft",params);
}
//编辑草稿
export const editDraft =params => {
  return axios.post("/win/cud-win/saveWinAndDraft",params)
}
//草稿 提交流程
export const commitWinAndDraft = params => {
  return axios.post("/win/cud-win/commitWinAndDraft",params);
}
const URL = {
  testPortal: '/app-api/testPortal',
  /******************account */
  getToken: '/account/getToken',
  /**************fileupload */
  uploadFile: '/scp/common/uploadFile',
  /***********home */
  updateVisitTime: '/scp/manager/process/updateVisitTime',
  getProcessList: '/scp/manager/process/loadVisitPaging',
  functionLoadUse: '/scp/data/systemconfig/loadByPaging',
  functionSave: '/scp/data/systemconfig/saveOrUpdate',
  functionLoadAll: '/scp/data/systeminfo/load',
  /************ 后台管理-应用流程*/
  sysProcessLoadByPaging: '/scp/manager/process/loadByPaging',
  sysProcessSave: '/scp/manager/process/save',
  sysProcessUpdate: '/scp/manager/process/update',
  sysProcessDelete: '/scp/manager/process/delete',
  sysProcessGet: '/scp/manager/process/get',
  sysDictGroupLoadByPaging: '/scp/data/dataDictGroup/loadByPaging',
  sysDictGroupSave: '/scp/data/dataDictGroup/saveOrUpdate',
  sysDictGroupGet: '/scp/data/dataDictGroup/queryByDictGroupKey',
  sysDictLoadByPaging: '/scp/data/dataDict/queryByDictGroupKey',
  sysDictSave: '/scp/data/dataDict/saveOrUpdate',
  sysMsgTemplateLoadByPaging: '/scp/manager/msgtpl/loadByPaging',
  sysMsgTemplateSave: '/scp/manager/msgtpl/save',
  sysMsgTemplateUpdate: '/scp/manager/msgtpl/update',
  sysMsgTemplateDelete: '/scp/manager/msgtpl/delete',
  sysMsgTemplateGet: '/scp/manager/msgtpl/get',
  sysTipsLoadByPaging: '/scp/data/debugtips/loadByPaging',
  sysTipsGet: '/scp/data/debugtips/loadByID',
  sysTipsSave: '/scp/data/debugtips/save',
  sysTipsDelete: '/scp/data/debugtips/del',
  sysParameterLoadByPaging: '/scp/data/parameterConfig/loadByPaging',
  sysParameterGet: '/scp/data/parameterConfig/queryByParamKey',
  sysParameterSave: '/scp/data/parameterConfig/saveOrUpdate',
  sysParameterDelete: '/scp/data/parameterConfig/del',
  sysAppLoadByPaging: '/scp/data/systeminfo/loadByPaging',
  sysAppGet: '/scp/data/systeminfo/loadByID',
  sysAppSave: '/scp/data/systeminfo/saveOrUpdate',
  sysAppDelete: '/scp/data/systeminfo/del',
  /***************调试采购 */
  purProjectLoadByPaging: '/scp/purchase/purchaseProject/loadByPaging',
  purProjectLoadGet: '/scp/purchase/purchaseProject/loadById',
  purProjectSave: '/scp/purchase/purchaseProject/saveOrUpdate',
  purProjectDelete: '/scp/purchase/purchaseProject/del',
  purProjectExport: '/scp/purchase/purchaseProject/exportExcel',
  purProjectImport: '/scp/purchase/purchaseProject/importFromExcel',//导入Excel
  purContractLoadByPaging: '/scp/purchase/purchaseContract/loadByPaging',
  purContractLoadGet: '/scp/purchase/purchaseContract/loadById',
  purContractSave: '/scp/purchase/purchaseContract/saveOrUpdate',
  purContractDelete: '/scp/purchase/purchaseContract/del',
  purContractExport: '/scp/purchase/purchaseContract/exportExcel',
  purContractImport: '/scp/purchase/purchaseContract/importFromExcel',
  purContractItemLoadByPaging: '/scp/purchase/purchaseContractItem/loadByPaging',
  purContractItemLoadGet: '/scp/purchase/purchaseContractItem/loadById',
  purContractItemSave: '/scp/purchase/purchaseContractItem/saveOrUpdate',
  purContractItemDelete: '/scp/purchase/purchaseContractItem/del',
  purContractItemExport: '/scp/purchase/purchaseContractItem/exportExcel',
  purContractItemImport: '/scp/purchase/purchaseContractItem/importFromExcel',
  purQuery: '/scp/purchase/demand/contractQuery',
  purChangeQuery: '/scp/purchase/demand/changeQuery',
  CapitalPlanList: '/scp/purchase/purchaseCapital/loadByPaging',
  CapitalPlanGet: '/scp/purchase/purchaseCapital/loadById',
  CapitalPlanSave: '/scp/purchase/purchaseCapital/saveOrUpdate',
  CapitalPlanImport: '/scp/purchase/purchaseCapital/importFromExcel',
  CapitalPlanExport: '/scp/purchase/purchaseCapital/exportExcel',
  purTrackPlanLoadByPaging: '/scp/purchase/tracking/queryUserAllocation',
  purTrackPlanUpdateStatus: '/scp/purchase/tracking/changeStatus',
  // 采购流程
  purContractItemProcessSave: '/scp/purchase/contractProcess/insertContract',
  getActivityBusinessInfo: '/scp/purchase/contractProcess/getActivityBusinessInfo',
  purSubmitProcess: '/scp/purchase/contractProcess/submitProcess',
  purContractItemProcessDel: '/scp/purchase/contractProcess/deleteApplyAndMyDraft',

  purChangeProcessSave: '/scp/purchase/changeProcess/insertContract',
  purChangeProcessGet: '/scp/purchase/changeProcess/getActivityBusinessInfo',
  purChangeProcessSubmit: '/scp/purchase/changeProcess/submitProcess',
  purChangeProcessDel: '/scp/purchase/changeProcess/deleteApplyAndMyDraft',

  purCloseProcessSave: '/scp/purchase/closeProcess/insertContract',
  purCloseProcessGet: '/scp/purchase/closeProcess/getActivityBusinessInfo',
  purCloseProcessSubmit: '/scp/purchase/closeProcess/submitProcess',
  purCloseProcessDel: '/scp/purchase/closeProcess/deleteApplyAndMyDraft',

  purNonContractProcessSave: '/scp/purchase/nonContractProcess/insertContract',
  purNonContractProcessGet: '/scp/purchase/nonContractProcess/getActivityBusinessInfo',
  purNonContractProcessSubmit: '/scp/purchase/nonContractProcess/submitProcess',
  purNonContractProcessDel: '/scp/purchase/nonContractProcess/deleteApplyAndMyDraft',

  queryPurchaseDemandLoadByPaging: '/scp/purchase/demand/queryPurchaseDemand',
  queryCloseDemandLoadByPaging: '/scp/purchase/demand/queryCloseDemand',

  PurTrackDemLoadByPaging:'/scp/purchase/allocation/queryDemand',
  PurTrackDemAllocation:'/scp/purchase/allocation/insert',
  PurTrackDemDisAllocation:'/scp/purchase/allocation/cancel',
  /********* 菜单数 */
  getMenuPermission: '/uau/perm/getMenuPermissionTree',
  /***********读写权限 */
  getWritePermission: '/uau/perm/getWritePermission',
  /************** 调试科研创新管理*/
  sriGainAwardsLoadByPaging: '/scp/achievement/award/listPage',
  sriGainAwardsSave: '/scp/achievement/award/save',
  sriGainAwardsGet: '/scp/achievement/award/getInfoById',
  sriGainAwardsDel: '/scp/achievement/award/delByIds',
  sriGainAwardsExport:'/scp/achievement/award/exportExcel',//调试科研创新管理===成果管理===科技奖===导出excel
  sriGainAwardsImport:'/scp/achievement/award/importFromExcel',//成果管理--科技奖===导入excel
  sriGainTopicLoadByPaging: '/scp/achievement/subject/listPage',
  sriGainTopicSave: '/scp/achievement/subject/save',
  sriGainTopicGet: '/scp/achievement/subject/getInfoById',
  sriGainTopicDel: '/scp/achievement/subject/delByIds',
  sriGainTopicExport: '/scp/achievement/subject/exportExcel',//调试科研创新管理===成果管理===科研课题===导出excel
  sriGainTopicImport: '/scp/achievement/subject/importFromExcel',//调试科研创新管理===成果管理===科研课题===导入excel
  sriGainStandardLoadByPaging: '/scp/achievement/standard/listPage',
  sriGainStandardSave: '/scp/achievement/standard/save',
  sriGainStandardGet: '/scp/achievement/standard/getInfoById',
  sriGainStandardDel: '/scp/achievement/standard/delByIds',
  sriGainStandardExport:'/scp/achievement/standard/exportExcel',//成果管理===标准===导出excel
  sriGainStandardImport:'/scp/achievement/standard/importFromExcel',//成果管理===标准===导入excel
  sriGainCapBuildLoadByPaging: '/scp/achievement/capacity/listPage',
  sriGainCapBuildSave: '/scp/achievement/capacity/save',
  sriGainCapBuildGet: '/scp/achievement/capacity/getInfoById',
  sriGainCapBuildDel: '/scp/achievement/capacity/delByIds',
  sriGainCapBuildExport: '/scp/achievement/capacity/exportExcel', //调试科研创新管理===成果管理===能力建设===导出excel
  sriGainCapBuildImport: '/scp/achievement/capacity/importFromExcel',//调试科研创新管理===成果管理===能力建设===导入excel
  sriGainYoungSpecialLoadByPaging: '/scp/achievement/youth/listPage',
  sriGainYoungSpecialSave: '/scp/achievement/youth/save',
  sriGainYoungSpecialGet: '/scp/achievement/youth/getInfoById',
  sriGainYoungSpecialDel: '/scp/achievement/youth/delByIds',
  sriGainYoungSpecialExport: '/scp/achievement/youth/exportExcel',//调试科研创新管理===成果管理===青年专项===导出excel
  sriGainYoungSpecialImport: '/scp/achievement/youth/importFromExcel',//调试科研创新管理===成果管理===青年专项===导入excel
  sriGainIprLoadByPaging: '/scp/achievement/knowledge/listPage',
  sriGainIprSave: '/scp/achievement/knowledge/save',
  sriGainIprGet: '/scp/achievement/knowledge/getInfoById',
  sriGainIprDel: '/scp/achievement/knowledge/delByIds',
  sriGainIprExport:'/scp/achievement/knowledge/exportExcel',
  sriGainIprImport:'/scp/achievement/knowledge/importFromExcel',//调试科研创新管理===成果管理===知识产权===导入excel
  sriGainPaperList: '/scp/achievement/paper/listPage',//论文管理列表
  sriGainSavePaper: '/scp/achievement/paper/savePaper',//论文新增或发起变更
  sriGainPaperSubmitProcess: '/scp/achievement/paper/submitProcess',//论文-审批（提交/驳回）
  sriGainPaperInfo: '/scp/achievement/paper/info',//论文-查看详情
  sriGainPaperExportExcel: '/scp/achievement/paper/exportExcel',//论文列表导出
  sriGainCapacityBuildingPlanList: '/scp/sri/capacityBuilding/plan/listPage',//能力建设年度计划列表
  sriGainGetNextThreeYear: '/scp/sri/common/getNextThreeYear',//获取往后3年年份
  sriGainCapacityBuildingPlanInfo: '/scp/sri/capacityBuilding/plan/planInfo',//能建-计划详情
  sriGainCapacityBuildingGetAllPlanInfo: '/scp/sri/capacityBuilding/plan/getAllPlanInfo',//获取所有能建计划
  sriGainCapacityBuildingPlanGetPhaseByPlanId: '/scp/sri/capacityBuilding/plan/getPhaseByPlanId',//根据计划id获取阶段
  sriGainCapacityBuildingPlanSave: '/scp/sri/capacityBuilding/plan/planSave',//能建计划新增（开启流程，新增或变更）
  sriGainCapacityBuildingPlanStageInfo: '/scp/sri/capacityBuilding/plan/stageInfo',//阶段详情
  sriGainCapacityBuildingPlanSubmitProcess: '/scp/sri/capacityBuilding/plan/submitProcess',//能建计划审批
  sriGainCapacityBuildingPlanStageSave: '/scp/sri/capacityBuilding/plan/planStageSave',//阶段进展提交（开启流程）
  sriGainCapacityBuildingPlanStageSubmitProcess: '/scp/sri/capacityBuilding/plan/stageSubmitProcess',//阶段进展流程审批
  sriGainGetCapacityBuildingGetAllYear: '/scp/sri/capacityBuilding/plan/getAllYear',//能建-获取所有年份
  sriGainGetCapacityBuildingGetPlanProgressInfo: '/scp/sri/capacityBuilding/plan/progressInfo',//能建-进展详情
  sriGainGetCapacityBuildingExportExcel: '/scp/sri/capacityBuilding/plan/exportExcel',//能建-列表导出


  sriGainLaboratoryAnnualPlanList: '/scp/sri/laboratoryAnnualPlan/listPage',//实验室年度计划列表
  sriGainLaboratoryAnnualPlanInfo: '/scp/sri/laboratoryAnnualPlan/planInfo',//实验室年度计划详情
  sriGainLaboratoryAnnualPlanSave: '/scp/sri/laboratoryAnnualPlan/planSave',//实验室年度计划提交（新增/变更/关闭）
  sriGainLaboratoryAnnualSubmitProcess: '/scp/sri/laboratoryAnnualPlan/submitProcess',//实验室年度计划审批
  sriGainLaboratoryAnnualGetAllPlanInfo: '/scp/sri/laboratoryAnnualPlan/getAllPlanInfo',//实验室获取所有计划
  sriGainLaboratoryAnnualGetPhaseByPlanId: '/scp/sri/laboratoryAnnualPlan/phase/getPhaseByPlanId',//根据计划获取阶段-实验室
  sriGainLaboratoryAnnualStageInfo: '/scp/sri/laboratoryAnnualPlan/phase/stageInfo',//实验室 - 阶段详情
  sriGainLaboratoryAnnualGetAllYear: '/scp/sri/laboratoryAnnualPlan/getAllYear',//实验室 - 获取计划所有年度
  sriGainLaboratoryAnnualPlanStageSave: '/scp/sri/laboratoryAnnualPlan/phase/planStageSave',//实验室计划进展提交（开启流程）
  sriGainLaboratoryAnnualPlanStageSubmitProcess: '/scp/sri/laboratoryAnnualPlan/phase/stageSubmitProcess',//进展流程审批（提交或回退）
  sriGainLaboratoryAnnualProgressInfo: '/scp/sri/laboratoryAnnualPlan/phase/progressInfo',//实验室 - 进展详情
  sriGainLaboratoryAnnualExportExcel: '/scp/sri/laboratoryAnnualPlan/exportExcel',//实验室 - 列表导出


  sriGainBudgetList: '/scp/sri/budget/listPage',//预算-列表
  sriGainBudgetAdd: '/scp/sri/budget/save',//新增年度预算
  sriGainBudExportExcel: '/scp/sri/budget/exportExcel',//年度预算导出
  sriGainBudgetUpdate: '/scp/sri/budget/update',//编辑年度预算
  sriGainBudgetInfo: '/scp/sri/budget/budgetInfo',//年度预算详情
  sriGainBudgetItemList: '/scp/sri/budget/item/listPage',//预算明细-列表
  sriGainBudgetItemExportExcel: '/scp/sri/budget/item/exportExcel',//明细导出
  sriGainGetBudgetGetAllYear: '/scp/sri/budget/getAllYear',//获取所有预算年份
  sriGainSaveBudgetItem: '/scp/sri/budget/item/saveBudgetItem',//预算申请（提交流程）
  sriGainBudgetItemSubmitProcess: '/scp/sri/budget/item/submitProcess',//预算审批（提交或驳回）
  sriGainBudgetItemInfo: '/scp/sri/budget/item/info',//预算详情

  /**************  表格   **************/
  getUserList: "user/list",
  addUser: "user/add",
  deleteUser: "user/delete",
  modifyUser: "user/modify",
  getUserListByParam: 'user/listByParam',
  getUserListByAdvance: 'user/listByAdvance',
  exportUser: 'user/exportUser',
  userSizeChange: 'user/userSizeChange',
  selectPageNum: 'user/selectPageNum',

  /************  采购订单   *************/
  getOrderList: "order/list",
  deleteOrder: "order/delete",
  exportOrder: "order/exportOrder",
  editOrder: "order/updateOrder",
  addOrder: "order/addOrder",

  getGoodList: 'good/list',


  /*********** 待办 ***********/
  getNeedDealList: "task/list",

  /*********** 已办 ***********/
  getDoneTaskList: 'doneTask/list',


  /************* 流程列表  ************ */
  getFlowList: "flow/getFlowList",
  getFlowListByCommon: "flow/getFlowListByCommon",
  getFlowListByAdvSearch: "flow/getFlowListByAdvSearch",
  getFlowListBySize: "flow/getFlowListBySize",
  getFlowListByPrePage: "flow/getFlowListByPrePage",
  getFlowListByNextPage: "flow/getFlowListByNextPage",
  getFlowListByPage: "flow/getFlowListByPage",

  /***************** 流程相关信息  *****************/
  getFlowInfoDetails: "flow/getFlowInfoDetails",


  /***************** 调试经营管理  *****************/
  getMarketList:"/run/marketInfo/listPage", //市场机会列表
  marketListExportExcel:"/run/marketInfo/exportExcel", //市场机会导出
  getMarketInfoById:"/run/marketInfo/getMarketInfoById",//市场机会详情
  saveOrUpdateReview:"/run/marketReview/saveOrUpdateReview",//市场机会评审保存与更新
  offerNumber:"/run/marketInfo/offerNumber",//同心圆取号
  getProjectList:"/run/projectInfo/listPage",//项目列表
  getProjectInfoById:"/run/projectInfo/getProjectInfoById",//获取项目详情
  updateProjectInfoById:"/run/projectInfo/updateProjectInfoById",//项目编辑保存
  addProjectInfo:"/run/projectInfo/save",//项目新增保存
  removeProjectInfo:"/run/projectInfo/remove",//项目删除
  getProjectUndertakeInfoById:"/run/projectInfo/getProjectUndertakeInfoById",//获取项目承揽详情
  saveProjectUndertakeTeam:"/run/projectUndertake/team",//承揽-组建承揽团队
  saveProjectUndertakeReview:"/run/projectUndertake/review",//承揽-项目承揽评审
  saveProjectUndertakeWbs:"/run//projectUndertake/wbs",//承揽-承揽阶段WBS及预算申请
  saveProjectUndertakeDirectorMaking:"/run/projectUndertake/directorMaking",//承揽-主任室决策
  saveProjectUndertakeTenderOffer:"/run/projectUndertake/tenderOffer",//承揽-投标报价
  saveProjectUndertakeHt:"/run/projectUndertake/ht",//承揽-合同推荐
  getProjectImplementationInfoById:"/run/projectInfo/getProjectImplementationInfoById",//获取项目承揽详情
  saveprojectImplementationTeam:"/run/projectImplementation/team",//实施-组建实施团队
  saveprojectImplementationOption:"/run/projectImplementation/option",//实施-项目属性认定
  saveprojectImplementationWbs:"/run/projectImplementation/wbs",//实施-实施阶段WBS及预算申请
  saveprojectImplementationImplement:"/run/projectImplementation/implement",//实施-项目执行
  saveprojectImplementationSummaryInfo:"/run/projectImplementation/summaryInfo",//实施-合同收款
  saveprojectImplementationSummary:"/run/projectImplementation/summary",//实施-项目总结
  projectInfoImportFromExcel:"/run/projectInfo/importFromExcel",//实施-项目导入
  projectInfoExportExcel:"/run/projectInfo/exportExcel",//实施-项目导出
  projectInfoGetTemplate:"/run/projectInfo/getTemplate",//实施-项目下载导入模板
  projectnotifyBusiness:"/run/projectInfo/notifyBusiness",//通知商务经理





  /***************** 调试HSE管理 *****************/
  sheUploadFile: '/scp/hse/meetingFile/uploadFile',
  sheMeetingLoadByPaging: '/scp/hse/meetingInfo/loadByPaging',
  sheMeetingSave: '/scp/hse/meetingInfo/saveOrUpdate',
  sheMeetingGet: '/scp/hse/meetingInfo/queryById',
  sheMeetingDel: '/scp/hse/meetingInfo/deleteById',
  sheCheckOptionsConfigLoadMenu: '/scp/hse/commonCheckOptionsConfig/loadMenu',
  sheCheckOptionsConfigSave: '/scp/hse/commonCheckOptionsConfig/saveOrUpdate',
  sheCheckOptionsConfigDel: '/scp/hse/commonCheckOptionsConfig/delById',
  sheCheckOptionsConfigInspection: '/scp/hse/checkOptionsConfig/inspection',

  /********************* 审批常用语相关 *********************/
  phraseLoadByPaging: '/scp/data/usualphrase/listPage',
  phraseSave: '/scp/data/usualphrase/save',
  phraseGet: '/scp/data/usualphrase/getInfoById',
  phraseDel: '/scp/data/usualphrase/delByIds',

   /********************* 人资管理 *********************/
   hrUserInfoList: '/scp/hr/userInfo/listPage',// 人员列表
   hrUserInfoDetail: '/scp/hr/userInfo/info', // 人员详情
   hrUserInfoAdd: '/scp/hr/userInfo/save', // 人员新增
   hrUserInfoEdit: '/scp/hr/userInfo/update', // 人员编辑
   hrUserInfoDel: '/scp/hr/userInfo/delete', // 人员删除
   hrUserInfoImportFromExcel: '/scp/hr/userInfo/importFromExcel', // 人员列表导入
   hrUserInfoExportExcel: '/scp/hr/userInfo/exportExcel', // 人员列表导出
   hrProcessRecordListPage: '/scp/hr/processRecord/listPage', // 审批记录列表
   hrProcessRecordExportExcel: '/scp/hr/processRecord/exportExcel', // 审批记录列表导出
   hrDeployPlanSavePlan: '/scp/hr/deployPlan/savePlan', // 后/前台人员调配（提交流程）
   hrDeployPlanSubmitProcess: '/scp/hr/deployPlan/submitProcess', // 前后台人员调配审批
   hrDeployPlanGetDeployPlanInfo: '/scp/hr/deployPlan/getDeployPlanInfo', // 前后台人员获取调配计划详情



   /********************* 我的草稿删除草稿 *********************/

   deleteDraftPaper: '/scp/achievement/paper/deleteDraft',// 论文草稿删除
   deleteDraftCapacityBuildingPlan: '/scp/sri/capacityBuilding/plan/deleteDraft',// 能力建设计划草稿删除
   deleteDraftCapacityBuildingProcess: '/scp/sri/capacityBuilding/plan/deleteProcessDraft',// 能建建设阶段进展流程-删除草稿
   deleteDraftLaboratoryAnnualPlan: '/scp/sri/laboratoryAnnualPlan/deleteDraft',// 实验室计划-删除草稿
   deleteDraftLaboratoryAnnualProcess: '/scp/sri/laboratoryAnnualPlan/phase/deleteProcessDraft',// 实验室阶段进展流程-删除草稿
   deleteDraftBudget: '/scp/sri/budget/item/deleteDraft',// 预算申请-删除草稿
   deleteDraftHr: '/scp/hr/deployPlan/deleteDraft',// 人资调配流程-删除草稿


    /********里程碑**2021-12-09*****/
    sysMilestoneLoadByPaging: '/scp/data/milestone/loadByPaging',
    sysMilestoneGet: '/scp/data/milestone/loadByID',
    sysMilestoneSave: '/scp/data/milestone/save',
    sysMilestoneDelete: '/scp/data/milestone/del',

}

export default URL
